#include "mainwindow.h"
#include "ui_mainwindow.h"

#include "include/plot.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    QGridLayout *grid = new QGridLayout(ui->outputFrame);

    ui->outputFrame->setLayout(grid);

    Plot plot(ui->outputFrame);
    grid->addWidget(&plot, 0, 0);
    plot.resize(800,600);
    plot.show();
}

MainWindow::~MainWindow()
{
    delete ui;
}
